package 方法和构造函数引用;

import org.springframework.format.annotation.DateTimeFormat;

class Person {
    @DateTimeFormat
    String firstName;
    String lastName;

    Person() {}

    Person(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }
}